/*********** main ***********/

main > section {
	perspective: 3000px;
}
main > section > figure {
	position: relative;
	margin: 0;
	height: 36em;
	overflow: hidden;
	border: 1px solid rgba(0,0,0,.14);
	cursor: pointer;
	border-radius: .6em;
	transform-style: preserve-3d;
	transition: all 0.3s cubic-bezier(.25,.46,.45,.94);
}
main > section > figure:hover {
	box-shadow: 0 0 2em rgba(0, 0, 0, .1);
}
main > section > figure img {
	position: absolute;
	top: -2em;
	width: 100%;
	height: 40em;
	transition: all 1s ease-in-out;
	filter: opacity(0);
}
main > section > figure > ul {
	position: absolute;
	margin-top: 33em;
	margin-left: 47%;
	display: flex;
	z-index: 2;
}
main > section > figure > ul > li {
	margin: 0 .5em;
	width: 1em;
	height: 1em;
}
main > section > figure > ul > li {
	background: url('/img/icon/figure-button.png') -0.3em -0.1em no-repeat;
	background-size: 1.6em 2.6em;
}

article {
	margin-top: 3em;
	border: 1px solid rgba(0,0,0,.14);
	border-radius: .6em;
	overflow: hidden;
}
article > header {
	display: flex;
	padding: .5em 1.5em;
	justify-content: space-between;
	font-size: 1.3em;
	background: #fafafa;
	align-items: center;
	border-bottom: 1px solid rgba(0,0,0,.1);
}
.products > header {
	padding: 1em 1.5em;
}
#hot-Products > header > span:last-child > a {
	display: inline-block;
	width: 2.6em;
	height: 2.6em;
	cursor: pointer;
}
#hot-Products > header > span:last-child > a:first-child {
	background: url('/img/icon/hot-enable.png') center no-repeat;
	background-size: 2.6em;
	transform: rotateY(180deg);
}
#hot-Products > header > span:last-child > a:last-child {
	background: url('/img/icon/hot-enable.png') center no-repeat;
	background-size: 2.6em;
}
#hot-Products > ul {
	display: flex;
	flex-wrap: nowrap;
	transition: all 1s ease-in-out;
}
.products > ul {
	display: flex;
	flex-wrap: wrap;
}
article > ul > li {
	position: relative;
	border-right: 1px solid #efefef;
	transition: all .15s ease;
	background-color: white;
	width: 21.62em;
}
article > ul > li:first-child {
	width: 43.2em;
}
article > ul > li:hover {
	box-shadow: inset 0 0 38px rgba(0,0,0,.08);
}
article > ul > li:nth-of-type(4n) {
	border-right: none;
}
article > ul > li > figure {
	text-align: center;
	padding: 1em .25em 0 .25em;
}
article > ul > li:not(:first-child) > figure img {
	width: 216px;
	height: 216px;
}
article > ul > li > figure figcaption > p {
	overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
article > ul > li > figure figcaption > p:first-child {
	color: #333;
    font-weight: 700;
}
article > ul > li > figure figcaption > p:last-child {
	color: #999;
	font-size: .8em;
}
article > ul > li > ul {
	display: flex;
	justify-content: center;
}
article > ul > li > ul > li {
	margin: 0 .5em;
	padding: 2px;
	width: .5em;
    height: .5em;
    border: 1px solid #e5e5e5;
    border-radius: 50%;
    cursor: pointer;
}
article > ul > li > ul > li > div {
	padding: 2px;
	width: 1em;
    height: 1em;
    border: 1px solid #e5e5e5;
    border-radius: 50%;
}
article > ul > li > ul > li > img {
	width: inherit;
    height: inherit;
    border-radius: 50%;
    display: block;
}
article > ul > li > p {
	text-align: center;
	font-size: 1.2em;
	color: #d44d44;
    font-weight: 700;
    line-height: 2em;
}
article > ul > li > aside {
	position: absolute;
	bottom: 2em;
	width: 100%;
	font-size: .9em;
	text-align: center;
	filter: opacity(0);
	z-index: -1;
	transition: all .15s ease-in-out;
}
article > ul > li > aside > a {
	display: inline-block;
	width: 8em;
	line-height: 2.5em;
	border: 1px solid #e1e1e1;
	border-radius: .3em;
	color: #646464;
	background-image: linear-gradient(#fff,#f9f9f9);
	cursor: pointer;
}
article > ul > li > aside > .addToCart {
	margin-left: .5em;
    color: #fff;
    background-image: linear-gradient(#6f97e5,#527ed9);
}
article > ul > li > aside > .checkDetail:hover {
	box-shadow: inset 0 0 1px #cfcdcd;
}
article > ul > li > aside > .addToCart:hover {
	box-shadow:
		inset 0 1px 1px #7696de,
		inset 0 0 2px #627dca,
		inset 0 -2px 3px #5a77c7,
		inset 0 0 100px rgba(48,77,147,.4);
}
.products > header {
	border-bottom: none;
}
.products > ul > li > figure {
	text-align: center;
	padding: 1em .24em 0 .24em; 
}
.products > ul > li {
	border-top: 1px solid rgba(0,0,0,.1);
}
.products > ul > li:first-child > figure {
	margin: 0;
	padding: 0;
}
.products > ul > li:first-child > figure img {
	width: 43.25em;
	height: 29em;
	vertical-align: bottom;
}

/*********** tool ***********/

.hideAbsolute {
	display: none !important;
}
.hide {
	filter: opacity(0);
}
.showFigure {
	filter: opacity(1);
}
.showOperator {
	filter: opacity(1) !important;
	z-index: 1 !important;
}
.translateX {
	transform: translateX(-86.8em);
}
.changeButton {
	background: url('/img/icon/figure-button.png') -0.2em -1.2em no-repeat;
	background-size: 1.4em 2.4em;
}
.disable {
	background: url('/img/icon/hot-disable.png') center no-repeat !important;
	background-size: 2.6em;
	pointer-events: none;
}
.outerDot {
	box-shadow: inset 0 0 0 1px #b2b2b2;
	border-color: #b2b2b2;
}